 
/*
https://blog.csdn.net/smilestone_322/article/details/23943529

$ g++  client.cpp  ClientSock.cpp ../Image.pb.cc  ClientTransfer.cpp  `pkg-config --cflags --libs opencv4`  -lboost_filesystem -lboost_thread -lboost_system  -I/opt/boost_1_75_0/  -L/opt/boost_1_75_0/stage/lib  `pkg-config --cflags --libs protobuf` -lpthread  -std=c++11 -o client.out




*/

#include "ClientTransfer.h"
 
int main(int argc, char* argv[])
{
 
	//CClientTransfer clientTransfer("/home/takethat/hdd1t_wd/git_repositories/merchdna/interfaceImpl/testimages1/raw/");

	// /mnt/d/qycloud_work/merchdna_/code_/interfaceImpl/buildLinux/testimages1/raw
if(argc<4)
{
	printf("Error!two few arguments!,please like that ./client **jpg.FolderPaht, **ip,**port\n");
}
		CClientTransfer clientTransfer(argv[1],argv[2],argv[3]);
	clientTransfer.StartThread();
 
	clientTransfer.WaitThreadTerminate();

 
	return 0;
}
 

 


 /*
 
  g++  client.cpp  ClientSock.cpp Image.pb.cc  ClientTransfer.cpp -lboost_filesystem -lboost_thread -lboost_system  -I/opt/boost_1_75_0/  -L/opt/boost_1_75_0/stage/lib  `pkg-config --cflags --libs protobuf` -lpthread  -std=c++11 -o client.out

2

参考:  g++ addressbook.pb.cc   writeMessage.cpp   `pkg-config --cflags --libs protobuf` -lpthread  -o writ2e.out



 */